package com.hs.srm.base.modules.sys.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hs.srm.base.common.utils.QueryParam;
import com.hs.srm.base.modules.sys.dao.SysCitiesDao;
import com.hs.srm.base.modules.sys.entity.SysCitiesEntity;
import com.hs.srm.base.modules.sys.service.SysCitiesService;
import com.hs.srm.common.utils.PageUtils;

@Service("sysCitiesService")
public class SysCitiesServiceImpl extends ServiceImpl<SysCitiesDao, SysCitiesEntity> implements SysCitiesService {

	@Override
	public PageUtils queryPage(Map<String, Object> params) {
		Page<SysCitiesEntity> page = this.selectPage(new QueryParam<SysCitiesEntity>(params).getPage(),
				new EntityWrapper<SysCitiesEntity>());

		return new PageUtils(page);
	}

}
